package com.linden.std.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 用户信息VO
 */
@Data
@ApiModel("用户信息VO")
public class UserVO {
    
    @ApiModelProperty("用户ID")
    private Long userId;
    
    @ApiModelProperty("账号")
    private String account;
    
    @ApiModelProperty("员工编号")
    private String empNo;
    
    @ApiModelProperty("昵称")
    private String nickName;
    
    @ApiModelProperty("真实姓名")
    private String realName;
    
    @ApiModelProperty("手机号")
    private String phone;
    
    @ApiModelProperty("邮箱")
    private String email;
    
    @ApiModelProperty("头像")
    private String avatar;
    
    @ApiModelProperty("状态")
    private Integer status;
    
    @ApiModelProperty("权限列表")
    private List<String> permCodes;
    
    @ApiModelProperty("角色列表")
    private List<String> roles;
    
    @ApiModelProperty("最后登录时间")
    private Date lastLoginTime;
    
    @ApiModelProperty("最后登录IP")
    private String lastLoginIp;
}